<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" template="/template.xhtml">
	
	<ui:define name="pageTitle">Iniciar Sesion</ui:define>
	
	<ui:define name="body">

		<table>
			<tr>
				<td width="45%">
					<img alt="semaforo" src="img/fenoco.jpg"
					border="0" /></td>
				<td width="55%">
					<a4j:form id="autenticacion">
					<rich:panel header="Ingresar">
						<h:panelGrid id="formulario">
							<table width="90%">
								<tr>
									<td rowspan="6" align="center" valign="middle">
										<img src="img/Ambiotec.JPG" border="0" />
									</td>
								</tr>
								<tr>
									<td>Usuario</td>
									<td><h:inputText value="#{Autenticacion.login}" /></td>
								</tr>
								<tr>
									<td>Clave</td>
									<td><h:inputSecret value="#{Autenticacion.password}" /></td>
								</tr>
								<tr>
									<td>
										<a4j:commandButton value="     Ingresar     " action="#{Autenticacion.autenticar}" />
									</td>
								</tr>
							</table>
						</h:panelGrid>
					</rich:panel>
				</a4j:form></td>
			</tr>
		</table>
	</ui:define>
</ui:composition>
